import {Component} from 'react';
import { Menu, Icon } from 'antd';
import { Link } from 'react-router-dom';
// const SubMenu = Menu.SubMenu;

class MenuLayout extends Component {

    constructor(props) {
        super(props);
    }
    render() {
        return (
            <Menu theme="dark" defaultSelectedKeys={['1']} mode="inline">
                <Menu.Item key="1" >
                    <Link to="/page/demo">
                        <Icon type="desktop" />
                        <span>demo</span>
                    </Link>
                </Menu.Item>
            </Menu>
        );
    }
}

export default MenuLayout;



